package com.tourismwebsite.collection.query;

import com.tourismwebsite.dto.PageDTO;
import com.tourismwebsite.query.PageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.List;

@Getter
@Setter
public class FavoriteQuery  {
    /**
     * 收藏夹ID
     */
    @ApiModelProperty(value = "收藏夹ID", example = "1")
    @NotNull(message = "收藏夹ID不可为空")
    private Integer favoriteId;
    /**
     * 收藏作品ID
     */
    @ApiModelProperty(value = "收藏文章ID", example = "1,2")
    @NotNull(message = "收藏文章ID不可为空")
    private List<Integer> articleId;

}
